class inputInsurance():
    def __init__(self,driver):
        self.driver = driver
    #查询条件
    #投保单号
    def inputNumber(self):
        return self.driver.find_element_by_name("GrpPropNo")
    #页面4个按钮
    def check(self):
        return self.driver.find_elements_by_class_name("cssButton")[0]
    def apply(self):
        return self.driver.find_elements_by_class_name("cssButton")[1]
    def getInto(self):
        return self.driver.find_elements_by_class_name("cssButton")[2]
    def backIn(self):
        return self.driver.find_elements_by_class_name("cssButton")[3]
    #公共池，个人池
    def publicLake(self):
        return self.driver.find_element_by_id("QueryScanGridSel0")
    def personLake(self):
        return self.driver.find_element_by_id("ScanMyInfoGridSel0")

